package com.hibase.upms.entity.menu.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 菜单列表vo
 *
 * @author hufeng
 * @create 2018-09-03 15:44
 */
@ApiModel("菜单首页列表vo")
@Data
public class MdsMenuIndexVO {

    @ApiModelProperty(value = "id", example = "xxxxxxxxxx")
    private String id;

    @ApiModelProperty(value = "菜单名称", example = "权限管理")
    private String name;

    @ApiModelProperty(value = "菜单code", example = "xxx")
    private String code;

    @ApiModelProperty(value = "菜单icon", example = "xxx")
    private String icon;

    @ApiModelProperty(value = "菜单类型", example = "MENU菜单 PAGE页面  OPERATION操作 ELEMENT元素")
    private String type;

    @ApiModelProperty(value = "页面类型(STANDARD/CUSTOMER)", example = "STANDARD")
    private String pageType;

    @ApiModelProperty(value = "终端类型分组(BROWSER浏览器 APP移动端 H5等)", example = "H5")
    private String groupType;

    @ApiModelProperty(value = "终端类型（WEB/PDA/PDA_WMS等）", example = "PDA")
    private String clientType;

    @ApiModelProperty(value = "菜单path", example = "path")
    private String path;

    @ApiModelProperty(value = "菜单pathName", example = "pathName")
    private String pathName;

    @ApiModelProperty(value = "是否隐藏（0 正常，1 已隐藏）", example = "false")
    private Boolean hideInMenu;

    @ApiModelProperty(value = "排序", example = "1 从小到大排序")
    private Integer sort;

    @ApiModelProperty(value = "component", example = "./user/login")
    private String component;

    @ApiModelProperty("排除标识")
    private Boolean beExcluded;

    @ApiModelProperty(value = "菜单子项", example = "")
    private List<MdsMenuIndexVO> menuBODetail;
}
